Don't include the builtin sequence table in multiple places
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 03:52:13 +0000 (22:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 03:52:13 +0000 (22:52 -0500)
The table is defined as static const guint16 [], so it really
should only be included in one source file.

gtk/gtkimcontextsimple.c
gtk/gtkimcontextsimpleprivate.h

index 6ec1bda6a505da3bf6a9d9e85a82e769f44f8708..ce906ae7f64606c4c10a7d53427423c4362a9a5a 100644 (file)
@@ -39,6 +39,7 @@
 #include "gtkcomposetable.h"
 
 #include "gtkimcontextsimpleprivate.h"
+#include "gtkimcontextsimpleseqs.h"
 
 /**
  * SECTION:gtkimcontextsimple
index 737f07a23334b79c2a42322e8751e364f12679f6..401156a84e7cd918b48ce0e65212eeb2eb16d7d6 100644 (file)
 
 #include "gdk/gdkkeysyms.h"
 
-/* This file contains the table of the compose sequences,
- * static const guint16 gtk_compose_seqs_compact[] = {}
- * IT is generated from the compose-parse.py script.
- */
-#include "gtkimcontextsimpleseqs.h"
-
-
 G_BEGIN_DECLS
 
 extern const GtkComposeTableCompact gtk_compose_table_compact;